package com.mes.mapper;

import com.mes.entity.MesEquipment;
import com.mes.entity.MesFactoryModel;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * @author DELL
 * @description 针对表【mes_factory_model(工厂建模)】的数据库操作Mapper
 * @createDate 2024-10-10 08:41:31
 * @Entity com.mes.entity.MesFactoryModel
 */
public interface MesFactoryModelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(MesFactoryModel record);

    int insertSelective(MesFactoryModel record);

    MesFactoryModel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MesFactoryModel record);

    int updateByPrimaryKey(MesFactoryModel record);

    //条件分页查询
    List<MesFactoryModel> ListByPageByLike(MesFactoryModel mesFactoryModel, RowBounds rowBounds);

    //查询条件查询后的总数据数
    List<MesFactoryModel> ListByPageByLike(MesFactoryModel mesFactoryModel);


}
